package xyz.hubery.handler;

import org.springframework.stereotype.Service;
import xyz.hubery.domain.AsyncTask;
import xyz.hubery.enums.AsyncTaskType;
import xyz.hubery.model.TaskResult;

/**
 * 默认（用于启动
 */
@Service
public class DefaultAsyncTaskHandler implements AsyncTaskHandler{
    @Override
    public AsyncTaskType getSupportedType() {
        return AsyncTaskType.DEFAULT;
    }

    @Override
    public TaskResult handle(AsyncTask task) {
        return null;
    }
}
